#include <stdio.h>
#include <getopt.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#include <ctype.h>
#include "types.h"
#include "elftypes.h"
#include "prxtypes.h"
Defines | |
| #define | PRX_LIBSTUB_SECT ".lib.stub" |
| #define | PRX_STUBTEXT_SECT ".sceStub.text" |
| #define | PRX_NID_SECT ".rodata.sceNid" |
| #define | MIPS_JR_31 0x03e00008 |
| #define | MIPS_NOP 0x0 |
Functions | |
| int | process_args (int argc, char **argv) |
| void | print_help (void) |
| unsigned char * | load_file (const char *file, unsigned int *size) |
| int | validate_header (unsigned char *data) |
| int | load_sections (unsigned char *data) |
| int | load_elf (const char *elf) |
| void | free_data (void) |
| int | fixup_imports (void) |
| int | main (int argc, char **argv) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
1.4.6